// 布匹库存
import qs from 'qs'
import axiosp from '@/apis/axios/indexp.js'

// 全部布匹库存列表
export function listGroupByStorePage(params) {
	return axiosp.request({
		url: `/erp/stockQuery/listGroupByStorePage`,
		method: 'post',
		data: params
	})
}

// 全部布匹库存总数
export function listPageFooting(params) {
	return axiosp.request({
		url: `/erp/stockQuery/listPage_footing`,
		method: 'post',
		data: params
	})
}

// 布匹概况
export function listPage(params) {
	return axiosp.request({
		url: `/erp/stockQuery/listPage`,
		method: 'post',
		data: params
	})
}

// 布匹库存明细
export function stockQueryListPage(params) {
	return axiosp.request({
		url: `/erp/stockDetailQuery/listPage`,
		method: 'post',
		data: params
	})
}

// 预警 库存过高
export function listStockMaxPage(params) {
	return axiosp.request({
		url: `/erp/stockQuery/listStockMaxPage`,
		method: 'post',
		data: params
	})
}
// 预警 库存过低
export function listStockMinPage(params) {
	return axiosp.request({
		url: `/erp/stockQuery/listStockMinPage`,
		method: 'post',
		data: params
	})
}